<!DOCTYPE html>
<html lang="Zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, user-scalable=no, 
  initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <!-- 引入css初始化文件 -->
  <link rel="stylesheet" href="./css/base.css">
  <!-- 引入首页css -->
  <link rel="stylesheet" href="./css/index.css">
  <!-- 引入图标 -->
  <link rel="shortcut icon" href="fvicon.ico">
  <link rel="stylesheet" href="./swiper/swiper-bundle.min.css">
  <title>多块好省，购物上京东!</title>
  <style>
     html,
    body {
      position: relative;
      height: 100%;
    }

    body {
      background: #eee;
      font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
      font-size: 14px;
      color: #000;
      margin: 0;
      padding: 0;
    }

    .swiper {
      width: 100%;
      height: 100%;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  </style>
</head>
<body>
  <!-- 顶部 -->
  <header class="app">
    <ul>
      <li>
        <img src="./images/close.png" alt="close">
      </li>
      <li>
        <img src="./images/logo.png" alt="logo">
      </li>
      <li>打开京东App, 购物更轻松</li>
      <li>立即打开</li>
    </ul>
  </header>


  <!-- 搜索 -->
  <div class="search-wrap">
    <div class="search-btn"></div>
    <div class="search">
      <div class="jd-icon"></div>
      <div class="sou"></div>
    </div>
    <div class="search-login">登录</div>
  </div>


  <!-- 主体内容部分 -->
  <div class="main-content">
    <!-- 滑动图 -->
    <div class="slider">
      <div class="swiper mySwiper">
        <div class="swiper-wrapper">
          <div class="swiper-slide"><img src="./upload/banner.dpg" alt="banner"></div>
          <div class="swiper-slide"><img src="./upload/banner.dpg" alt="banner"></div>
          <div class="swiper-slide"><img src="./upload/banner.dpg" alt="banner"></div>
        </div>
        <div class="swiper-button-next"></div>
        <div class="swiper-button-prev"></div>
        <div class="swiper-pagination"></div>
      </div>
    </div>
  </div>

  <!-- 品牌日 -->
  <div class="brand">
    <div>
      <a href="#"><img src="./upload/pic11.dpg" alt="pic1"></a>
    </div>
    <div>
      <a href="#"> <img src="./upload/pic22.dpg" alt="pic2"></a>
    </div>
    <div>
      <a href="#"><img src="./upload/pic33.dpg" alt="pic3"></a>
    </div>
  </div>


  <!-- nav部分 -->
  <nav class="clearfix">
    <a href="#">
      <img src="./upload/nav1.webp" alt="nav1">
      <span>京东超市</span>
    </a>
    <a href="#">
      <img src="./upload/nav2.webp" alt="nav1">
      <span>全球购</span>
    </a>
    <a href="#">
      <img src="./upload/nav4.webp" alt="nav4">
      <span>京东服饰</span>
    </a>
    <a href="#">
      <img src="./upload/nav5.webp" alt="nav5">
      <span>京东生鲜</span>
    </a>
    <a href="#">
      <img src="./upload/nav6.webp" alt="nav6">
      <span>京东到家</span>
    </a>
    <a href="#">
      <img src="./upload/nav3.webp" alt="nav3">
      <span>充值缴费</span>
    </a>
    <a href="#">
      <img src="./upload/nav7.webp" alt="nav7">
      <span>9.9元拼</span>
    </a>
    <a href="#">
      <img src="./upload/nav8.webp" alt="nav8">
      <span>领券</span>
    </a>
    <a href="#">
      <img src="./upload/nav9.webp" alt="nav9">
      <span>赚钱</span>
    </a>
    <a href="#">
      <img src="./upload/nav10.webp" alt="nav10">
      <span>全部</span>
    </a>
  </nav>

  <!-- 新闻模块 -->
  <div class="news clearfix">
    <a href="#">
      <img src="./upload/new1.dpg" alt="new1">
    </a>
    <a href="#">
      <img src="./upload/new2.dpg" alt="">
    </a>
    <a href="#">
      <img src="./upload/new3.dpg" alt="">
    </a>
  </div>

  <!-- 秒杀模块 -->
  <div class="ms clearfix">
    <div class="ms-text"><h3>京东秒杀</h3><h4>14点场</h4>00:57:29<span><a href="#">更多秒杀</a></span></div>
    <div class="ms-img">
      <a href="#">
        <img src="./upload/ms1.png" alt="ms1">
        <span>¥25.2</span>
      </a>
      <a href="#">
        <img src="./upload/ms2.png" alt="ms2">
        <span>¥226.7</span>
      </a>
      <a href="#">
        <img src="./upload/ms3.png" alt="ms3">
        <span>¥25.8</span>
      </a>
      <a href="#">
        <img src="./upload/ms4.png" alt="ms4">
        <span>¥29.9</span>
      </a>
    </div>
  </div>

  <!-- 商品模块 -->
  <div class="shops clearfix">
    <div class="shops-left">
      <img src="./upload/shops1.webp" alt="shops1">
      <span>HUAWEI MatePad 2023款标准版华为平板电脑11.5英寸120Hz护眼全面屏学生学习娱乐平板8+128GB 深空灰</span>
      <div class="logo2">
        <img src="./images/logo2.png" alt="logo2" style="width: 14px;height: 14px;">
        <i style="color: #ff4778;">90天最低价</i>
      </div>
      <div class="price">
        <h4>¥1399.00</h4>
      </div>
    </div>
    <div class="shops-right">
      <img src="./upload/shops2.webp" alt="shops2">
      <span>华为长续航蓝牙耳机 FreeBuds SE 2无线耳机 40小时长续航 快速充电 蓝牙5.3适用于苹果/安卓手机白</span>
      <div class="price">
        <h4>¥149.00</h4>
      </div>
    </div>
  </div>
  <div class="shops">
    <div class="shops-left">
      <img src="./upload/shops3.webp" alt="shops3">
      <span>HUAWEI MatePad 2023款标准版华为平板电脑11.5英寸120Hz护眼全面屏学生学习娱乐平板8+128GB 深空灰</span>
      <div class="logo2">
        <img src="./images/logo2.png" alt="logo2" style="width: 14px;height: 14px;">
        <i style="color: #ff4778;">90天最低价</i>
      </div>
      <div class="price">
        <h4>¥1399.00</h4>
      </div>
    </div>
    <div class="shops-right">
      <img src="./upload/shops4.webp" alt="shops4">
      <span>华为长续航蓝牙耳机 FreeBuds SE 2无线耳机 40小时长续航 快速充电 蓝牙5.3适用于苹果/安卓手机白</span>
      <div class="price">
        <h4>¥149.00</h4>
      </div>
    </div>
  </div>
 <!-- 底部 -->
<footer>
  <div>
    <a href="#"><img src="./images/首页.png" alt="首页"></a>
  </div>
  <div>
    <a href="#"><img src="./images/逛逛.png" alt="逛逛"></a>
  </div>
  <div>
    <a href="#"><img src="./images/新品.png" alt="新品"></a>
  </div>
  <div>
    <a href="#"><img src="./images/购物车.png" alt="购物车"></a>
  </div>
  <div>
    <a href="#"><img src="./images/我的.png" alt="我的"></a>
  </div>
</footer>
<script src="./swiper/swiper-bundle.min.js"></script>
<script>
   var swiper = new Swiper(".mySwiper", {
      slidesPerView: 1,
      spaceBetween: 30,
      keyboard: {
        enabled: true,
      },
      pagination: {
        el: ".swiper-pagination",
        clickable: true,
      },
      navigation: {
        nextEl: ".swiper-button-next",
        prevEl: ".swiper-button-prev",
      },
    });
</script>
</body>
</html>